package com.yunzhong.appointment.system.service.impl;

import com.yunzhong.appointment.entity.Appointmentorder;
import com.yunzhong.appointment.entity.Department;
import com.yunzhong.appointment.entity.Departmenttype;
import com.yunzhong.appointment.mapper.AppointmentorderMapper;
import com.yunzhong.appointment.mapper.DepartmenttypeMapper;
import com.yunzhong.appointment.system.service.DepartmenttypeService;
import com.yunzhong.appointment.util.PageData;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * 科室类别接口实现类
 */
@Service
public class DepartmenttypeServiceImpl implements DepartmenttypeService {
    @Autowired
    private DepartmenttypeMapper departmenttypeMapper;
    @Autowired
    private AppointmentorderMapper appointmentorderMapper;
    @Override
    public int deleteByPrimaryKey(String dplId) {
        return 0;
    }

    @Override
    public int insert(Departmenttype record) {
        return 0;
    }

    @Override
    public int insertSelective(Departmenttype record) {
        return 0;
    }

    @Override
    public Departmenttype selectByPrimaryKey(String dplId) {
        return null;
    }

    @Override
    public int updateByPrimaryKeySelective(Departmenttype record) {
        return 0;
    }

    @Override
    public int updateByPrimaryKey(Departmenttype record) {
        return 0;
    }

    @Override
    public List<Departmenttype> listDepartmentType(PageData pd) {
        return null;
    }

    @Override
    public List<Departmenttype> selectAll() {
        return departmenttypeMapper.selectAll();
    }


    @Override
    public List<Map<String,String>> selectByType() {
        return departmenttypeMapper.selectByType();
    }

    @Override
    public List<Department> selectById(String id) {
        return departmenttypeMapper.selectById(id);
    }

    @Override
    public List<Appointmentorder> selectCount() {
        return appointmentorderMapper.selectCount();
    }
}
